package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 电台推广
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2018-01-02
 */
@TableName("rd_spread")
@SuppressWarnings("serial")
public class Spread extends BaseModel {

    /**
     * 商家名称
     */
	@TableField("seller_name")
	private String sellerName;
    /**
     * 推广标题
     */
	@TableField("spread_title")
	private String spreadTitle;
    /**
     * 结果页面名称
     */
	@TableField("spread_result_page")
	private String spreadResultPage;
    /**
     * 摇一摇有效期开始
     */
	@TableField("spread_expire_start")
	private Date spreadExpireStart;
    /**
     * 摇一摇有效期结束
     */
	@TableField("spread_expire_end")
	private Date spreadExpireEnd;
    /**
     * 有效时段（周几）
     */
	@TableField("spread_valid_day")
	private String spreadValidDay;
    /**
     * 软删除状态(启用禁用)
     */
	@TableField("del_status")
	private Integer delStatus;
    /**
     * 电台id
     */
	@TableField("rs_id")
	private Long rsId;
    /**
     * 手机端静态url
     */
	@TableField("mobile_url")
	private String mobileUrl;
    /**
     * 资源编码

编码中包含一下信息：

电台id，推广id

使用可逆加密将以上信息加密。
     */
	@TableField("res_code")
	private String resCode;
    /**
     * 推广类型
0 广告
1 直播
     */
	@TableField("spread_type")
	private Integer spreadType;

	@TableField("create_time")
	private Date createTime;

	/**
	 * 审核状态
	 * 推广类型为广告
	 * 0 审核中
	 * 1 已生效
	 * 2 已过期
	 * 推广类型为直播
	 * 1已生效
	 * 2 已过期
	 */
	@TableField("spread_status")
	private Integer spreadStatus;

	/**
	 * 直播推广内容类型
	 * 0优惠券
	 * 1 报名
	 */
	@TableField("activity_content_type")
	private Integer activityContentType;

	/**
	 * 直播类型关联内容id
	 */
	@TableField("activity_content_id")
	private Integer activityContentId;
	/**
	 * 直播类型关联内容标题
	 */
	@TableField("activity_content_title")
	private String activityContentTitle;

	public String getActivityContentTitle() {
		return activityContentTitle;
	}

	public void setActivityContentTitle(String activityContentTitle) {
		this.activityContentTitle = activityContentTitle;
	}

	public Integer getActivityContentType() {
		return activityContentType;
	}

	public Integer getActivityContentId() {
		return activityContentId;
	}

	public void setActivityContentId(Integer activityContentId) {
		this.activityContentId = activityContentId;
	}

	public void setActivityContentType(Integer activityContentType) {
		this.activityContentType = activityContentType;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSpreadTitle() {
		return spreadTitle;
	}

	public void setSpreadTitle(String spreadTitle) {
		this.spreadTitle = spreadTitle;
	}

	public String getSpreadResultPage() {
		return spreadResultPage;
	}

	public void setSpreadResultPage(String spreadResultPage) {
		this.spreadResultPage = spreadResultPage;
	}

	public Date getSpreadExpireStart() {
		return spreadExpireStart;
	}

	public void setSpreadExpireStart(Date spreadExpireStart) {
		this.spreadExpireStart = spreadExpireStart;
	}

	public Date getSpreadExpireEnd() {
		return spreadExpireEnd;
	}

	public void setSpreadExpireEnd(Date spreadExpireEnd) {
		this.spreadExpireEnd = spreadExpireEnd;
	}

	public String getSpreadValidDay() {
		return spreadValidDay;
	}

	public void setSpreadValidDay(String spreadValidDay) {
		this.spreadValidDay = spreadValidDay;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public Long getRsId() {
		return rsId;
	}

	public void setRsId(Long rsId) {
		this.rsId = rsId;
	}

	public String getMobileUrl() {
		return mobileUrl;
	}

	public void setMobileUrl(String mobileUrl) {
		this.mobileUrl = mobileUrl;
	}

	public String getResCode() {
		return resCode;
	}

	public void setResCode(String resCode) {
		this.resCode = resCode;
	}

	public Integer getSpreadType() {
		return spreadType;
	}

	public void setSpreadType(Integer spreadType) {
		this.spreadType = spreadType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getSpreadStatus() {
		return spreadStatus;
	}

	public void setSpreadStatus(Integer spreadStatus) {
		this.spreadStatus = spreadStatus;
	}
}